import request from '@/utils/request'//引入ajax
const api_name = '/admin/jilu'
//查询记录  
export const findJilu = () => {
    return request({
        url: `${api_name}/findJilu`,
        method: 'get'
    })
}
//根据id查询数据  
export const findJiluById = (id) => {
    return request({
        url: `${api_name}/findJiluById/${id}`,
        method: 'get'
    })
}

//根据id查询记录 

export const findJiluByUserId = (userId) => {
    return request({
        url: `${api_name}/findJiluByUserId/${userId}`,
        method: 'get'
    })
}